package com.yantong.constant;

/**
 * 获取佣金  时间类型
 * @author kanghaixin
 * @date 2018/10/4.10:29
 */
public enum TimeType {
    ALL(null, "全部"),
    TODAY(0, "今日"),
    WEEK(1, "本周"),
    MONTH(2, "本月"),
    YESTERDAY(3,"昨天"),
    DUE_TIME(4, "按时间")
    ;

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    TimeType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
